package com.ontheroad.scene.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 中控场景关系实体类
 * 
 * @author Yongtao Huang
 */
public class CentralSceneEntity implements Serializable {

	private static final long serialVersionUID = -7077273757504216906L;
	/**  */
	private Integer id;
	/**
	 * 自己是否是二级中控
	 */
	private Boolean isSub;

	/**
	 * 中控编号
	 */
	private String mac;

	/**
	 * 在一级中控的哪个通道上
	 */
	private Integer channel;

	/**
	 * 场景ID
	 */
	private Integer sceneId;

	/**
	 * 修改时间
	 */
	private Date updateTime;

	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 是否可用 (0：禁用；1：可用)
	 */
	private Boolean isEnable;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Boolean getIsSub() {
		return isSub;
	}

	public void setIsSub(Boolean isSub) {
		this.isSub = isSub;
	}

	public String getMac() {
		return mac;
	}

	public void setMac(String mac) {
		this.mac = mac;
	}

	public Integer getChannel() {
		return channel;
	}

	public void setChannel(Integer channel) {
		this.channel = channel;
	}

	public Integer getSceneId() {
		return sceneId;
	}

	public void setSceneId(Integer sceneId) {
		this.sceneId = sceneId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Boolean getIsEnable() {
		return isEnable;
	}

	public void setIsEnable(Boolean isEnable) {
		this.isEnable = isEnable;
	}

}
